package com.zxh.zhenxihuan.service;

import com.zxh.zhenxihuan.entity.z.Address;
import com.zxh.zhenxihuan.util.Page;

import java.util.List;

/**
 * @author:geQiang
 * @version:1.0
 * @date:2019/8/8
 * @description:com.zxh.zhenxihuan.service
 */
public interface AddressService {
    /**
     * 分页
     */
    Page<Address> page(Integer pageNum, Integer pageCount, String uid);
    /**
     * 获得总数
     */
    Integer getSum(String uid);
    /**
     * 查询列表
     */
    List<Address> getAddress(Integer start, Integer end, String uid);
    /**
     * 删除用户
     */
    Integer del(Integer id);
}
